package com.blb.java12springsecutiry.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blb.java12springsecutiry.entity.User;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xray
 * @since 2023-01-31
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 通过用户名查询所有权限字符串
     * @param username
     * @return
     */
    List<String> selectAuthoritiesByUsername(String username);
}
